with open(r'd:\epean\python_learn\13.文件io\test.txt', 'r',encoding='utf-8') as f:
    print(f.readline())
print("切换为gbk编码")
with open(r'd:\epean\python_learn\13.文件io\test.txt', 'r',encoding='gbk') as f:
    print(f.readline())
    
    
    
